package com.aibaixun.system.mapper;

import com.aibaixun.system.domain.DicmCabinet;
import com.aibaixun.system.domain.vo.QueryDeviceTreeVo;
import com.aibaixun.system.domain.vo.QueryDeviceVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DicmCabinetMapper extends BaseMapper<DicmCabinet> {
    List<QueryDeviceTreeVo> queryCabinetList(@Param("parentId") String parentId);

    List<DicmCabinet> queryCabinetListById(@Param("addressIdList") List<String> addressIdList);

    QueryDeviceVo queryByRoomUeId(@Param("cabinetId") String cabinetId);
}
